home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
UTIL
/
SYS
/
KILLTASK
/
<tarZ$use>
/
files
/
!KillTask
/
!Help
< prev
next >
Wrap
Text File
|
1991-08-01
|
2KB
|
41 lines
--------
KillTask
--------
This is a module designed to help people who program in the wimp environment
- it was programmed out of sheer frustration: I run a multiline BBS system
(ARCbbs, plug plug) which multitasks on the desktop. I also use the machine
for programming my terminal software (ARCterm 7, plug plug).
The problem is: usually when a C program crashes, it brings up an error
box, eg address exception - which is fine. You click on OK and carry on.
Unfortunately, if you forget a '++' somewhere in a loop you can find your
wimp task running around inside itself without calling window poll at all,
hence you can't shutdown the task, you have to reset the machine (not very
beneficial to BBS users currently online!). So, with KillTask loaded, you
just press Ctrl-Alt-Del for one second when the task has hung and hey
presto! An error box. Really it should closedown, but when I called
closedown it gave me an error box (sometimes) which is almost as good :-).
Click on OK and you're free again. Wonderful, innit?
PUBLIC DOMAIN
(c) 1990 Hugo Fiennes
May not be sold without prior permission from me (inc PD libraries).
Contact points:
SnailMail: Burcott Manor, Wells, Somerset, BA5 1NH
Email : Cix : altman@cix
Prestel : 045847608
FidoNet : Hugo Fiennes @ 2:252/102
Archive BBS user #8
Arcade BBS user #8
Noah BBS user #27
Phone : Home - (0749) 72234
Vodafone - (0831) 444192
BBS (1) - (0749) 679794 (300-2400, 24hrs) (User #1)
BBS (2/3) - (0749) 670030 (1200-14400, HST/V32, 24hrs) (User #1)
Archive BBS user #8
Arcade BBS user #8
Noah BBS user #27